
# 环境
FROM  williamyeh/java8:latest
# 作者信息
MAINTAINER david "wxy9496099@163.com"
# 将本地文件tmp挂载到容器
VOLUME /demo
# 拷贝jar
ADD a_javaee.jar /a_javaee.jar
# 设置暴露的端口号
#EXPOSE 8761
# 执行命令
ENTRYPOINT ["java","-jar","a_javaee.jar"]
#
#
#FROM openjdk:8.0.171-jdk-slim
#
#WORKDIR /demo
#
#COPY a_javaee.jar /demo



#
#
#CMD ["java", "-jar", "a_javaee.jar"]

